package gof.com.yew.adapter;

public class AdapterDemo01 {
	
	public static  void testHandler(PeriDevice pd) {
		pd.HandlerEvent();
	}
	
	public static void main(String[] args) {
		Keyboard kb = new Keyboard();
		PeriDevice pd = new KeyboardAdapter(kb);
		AdapterDemo01.testHandler(pd);
	}

}
